package com.hy.mydesktop.client.component.meta;

import com.google.gwt.user.client.ui.AbstractImagePrototype;
import com.hy.mydesktop.client.component.type.ComponentTypeEnum;

/**
 * 
 * <ul>
 * <li>开发作者：冬超</li>
 * <li>设计日期：2010-8-29；时间：下午03:15:48</li>
 * <li>类型名称：AccordionPanelModel</li>
 * <li>设计目的：</li>
 * </ul>
 * <ul>
 * <b>修订编号：</b>
 * <li>修订日期：</li>
 * <li>修订作者：</li>
 * <li>修订原因：</li>
 * <li>修订内容：</li>
 * </ul>
 */
public class AccordionPanelModel {
	/**
	 * 动画效果
	 */
	private boolean animCollapse;
	/**
	 * 标题
	 */
	private String heading;
	/**
	 * 布局
	 */
	private ComponentTypeEnum layout;
	/**
	 *按钮样式
	 */
	private String buttonStyleName;
	/**
	 *按钮排列方式
	 */
	private String buttonAlign;
	/**
	 * 收缩
	 */
	private boolean collapsible;
	/**
	 * 标题可见
	 */
	private boolean headerVisible;
	/**
	 * 画面
	 */
	private boolean frame;
	/**
	 * 高度
	 */
	private int hight;
	/**
	 * 宽度
	 */
	private int buttonMinWidth;
	/**
	 * 图片
	 */
	private AbstractImagePrototype icon;
	
	/**
	 * 自动调整的宽度
	 */
	private boolean autoWidth;
	
	/**
	 * 自动调整的高度
	 */
	private boolean autoHeight;
	
	/**
	 * formData
	 */
	private String formData;
	
	
	public String getFormData() {
    	return formData;
    }
	public void setFormData(String formData) {
    	this.formData = formData;
    }
	public AbstractImagePrototype getIcon() {
		return icon;
	}
	public void setIcon(AbstractImagePrototype icon) {
		this.icon = icon;
	}
	public String getButtonAlign() {
		return buttonAlign;
	}
	public int getButtonMinWidth() {
		return buttonMinWidth;
	}
	public String getButtonStyleName() {
		return buttonStyleName;
	}
	public String getHeading() {
		return heading;
	}


	
	public boolean isAnimCollapse() {
		return animCollapse;
	}
	public boolean isCollapsible() {
		return collapsible;
	}
	public boolean isFrame() {
		return frame;
	}
	public boolean isHeaderVisible() {
		return headerVisible;
	}
	public void setAnimCollapse(boolean animCollapse) {
		this.animCollapse = animCollapse;
	}
	public void setButtonAlign(String buttonAlign) {
		this.buttonAlign = buttonAlign;
	}
	public void setButtonMinWidth(int buttonMinWidth) {
		this.buttonMinWidth = buttonMinWidth;
	}
	public void setButtonStyleName(String buttonStyleName) {
		this.buttonStyleName = buttonStyleName;
	}
	public void setCollapsible(boolean collapsible) {
		this.collapsible = collapsible;
	}
	public void setFrame(boolean frame) {
		this.frame = frame;
	}
	public void setHeaderVisible(boolean headerVisible) {
		this.headerVisible = headerVisible;
	}
	public void setHeading(String heading) {
		this.heading = heading;
	}
	
	public ComponentTypeEnum getLayout() {
    	return layout;
    }
	public void setLayout(ComponentTypeEnum layout) {
    	this.layout = layout;
    }
	public int getHight() {
    	return hight;
    }
	public void setHight(int hight) {
    	this.hight = hight;
    }
	public boolean isAutoWidth() {
    	return autoWidth;
    }
	public void setAutoWidth(boolean autoWidth) {
    	this.autoWidth = autoWidth;
    }
	public boolean isAutoHeight() {
    	return autoHeight;
    }
	public void setAutoHeight(boolean autoHeight) {
    	this.autoHeight = autoHeight;
    }

	
	
}
